/*
 * @Description: 登录公共API
 * @Author: wangwangwang
 * @Date: 2020-08-06 10:30:49
 * @LastEditors: wangwangwang
 * @LastEditTime: 2020-09-04 16:33:10
 */
import request from '@/utils/request'
/**
 * @Description: 登录
 * @Param: 
 * @Author: wangwangwang
 */

export function login(params) {
	return request({
		url: '/base/user/login',
		method: 'post',
		data: params,
	})
}

/**
 * @Description: 退出登录
 * @Param: 
 * @Author: wangwangwang
 */
export function loginOut(params) {
	return request({
		url: '/base/system/user/logout',
		method: 'post',
		params,
	})
}
/**
 * @Description  修改密码
 * @Param 
 * @Author wangwangwang
 */
export function update_password(data) {
	return request({
		url: '/base/system/app/client/update_password',
		method: 'post',
		data,
	})
}
/**
 * @Description  修改用户信息
 * @Param 
 * @Author wangwangwang
 */
export function updateSignature(data) {
	return request({
		url: '/base/system/user/updateSignature',
		method: 'post',
		data,
	})
}